home *** CD-ROM | disk | FTP | other *** search
Text File | 1998-04-16 | 572 b | 34 lines | [TEXT/CWIE] |
- // VInt32.h
- // Copyright: © 1994 - 1998 by Apple Computer, Inc., all rights reserved.
-
-
- // functions supporting a variable length encoding/decoding of uint32's
-
- #pragma once
- #ifndef VInt32_h
- #define VInt32_h
-
- #pragma import on
- #if PRAGMA_STRUCT_ALIGN
- #pragma options align=power
- #endif
-
- #include "IAStorage.h"
-
- #pragma IA_BEGIN_EXPORTS
-
- byte VInt32Size(uint32 i);
-
- void VInt32Write(uint32 i, IAOutputBlock* output);
-
- uint32 VInt32Read(IAInputBlock* input);
-
- #pragma IA_END_EXPORTS
-
- #if PRAGMA_STRUCT_ALIGN
- #pragma options align=reset
- #endif
-
- #pragma import reset
- #endif
-